const { resolve } = require('path');
const { build } = require('vite');

(async() => {
  try {
    await build({
      configFile: resolve(__dirname, '../vite.config.ts')
    })
  } catch (e) {
    process.exit(1)
  }
})()